public class Main 
{
    public static void main(String[] args)
    {
        System.out.println("   A");
        Base bobj1 = new Base();
        System.out.println("   B");
        Base bobj2 = new Derive1();
        System.out.println("   C");
        Base bobj3 = new Derive2();
    }

}
